package com.kweative.model.column;

import com.kweative.model.Table;
import com.kweative.model.sql.SQLDataType;
import java.text.DateFormat;
import java.text.FieldPosition;
import java.text.ParseException;
import java.text.ParsePosition;
import java.util.Date;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.commons.lang.time.DateFormatUtils;

/**
 *
 * @author henrik
 */
public class ColumnUpdated<T extends Table> extends ColumnCreated<T> {

    public ColumnUpdated(String name) {
        this();
		setName(name);
    }

	public ColumnUpdated() {
		super();
	}

	@Override
	public Date beforeUpdate(Object value) {
		return new Date();
	}
}
